package com.heima.model.user.pojos;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

/**
 * @author:Dikk
 * @create: 2023-08-06 08:43
 * @Description: ApUserFan
 */
@Data
@TableName("ap_user_fan")
public class ApUserFan {

    /**
     * 主键id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 用户id
     */
    @TableField(value = "user_id")
    private Integer userId;

    /**
     * 粉丝id
     */
    @TableField(value = "fans_id")
    private Integer fansId;

    /**
     * 粉丝昵称
     */
    @TableField(value = "fans_name")
    private String fansName;

    /**
     * 粉丝忠诚度  0 正常 1 潜力股 2 勇士 3 铁杆 4 老铁
     */
    @TableField(value = "level")
    private Short level;

    /**
     * 创建时间
     */
    @TableField(value = "created_time")
    private Date createdTime;

    /**
     * 是否可见我的动态
     */
    @TableField(value = "is_display")
    private Short isDisplay;

    /**
     * 是否屏蔽私信
     */
    @TableField(value = "is_shield_letter")
    private Short isShieldLetter;

    /**
     * 是否屏蔽评论
     */
    @TableField(value = "is_shield_comment")
    private Short isShieldComment;
}
